package com.onedec.account.mapper;

import com.onedec.account.entity.OnedecAccountingVouchers;
import com.onedec.account.entity.OnedecAccountingVouchersExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecAccountingVouchersMapper {
    long countByExample(OnedecAccountingVouchersExample example);

    int deleteByExample(OnedecAccountingVouchersExample example);

    int deleteByPrimaryKey(Integer accountingVouchersId);

    int insert(OnedecAccountingVouchers record);

    int insertSelective(OnedecAccountingVouchers record);

    List<OnedecAccountingVouchers> selectByExample(OnedecAccountingVouchersExample example);

    OnedecAccountingVouchers selectByPrimaryKey(Integer accountingVouchersId);

    int updateByExampleSelective(@Param("record") OnedecAccountingVouchers record, @Param("example") OnedecAccountingVouchersExample example);

    int updateByExample(@Param("record") OnedecAccountingVouchers record, @Param("example") OnedecAccountingVouchersExample example);

    int updateByPrimaryKeySelective(OnedecAccountingVouchers record);

    int updateByPrimaryKey(OnedecAccountingVouchers record);
}